<?php

class Ngo_project extends Datamapper {
    
	var $db_params = 'ngo';
	var $table = 'projects';
	var $auto_populate_has_one = TRUE;
	
	var $has_one = array(
		'ngo' => array(
			'class' => 'ngo',
			'other_field' => 'projects',
			'join_self_as' => 'project',
			'join_other_as' => 'ngo',
			'join_table' => 'r_ngos_projects'),
	);
}

/* End of file country.php */
/* Location: ./application/models/country.php */